# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-gpxpy
pkgver=1.4.2
pkgrel=0
pkgdesc="Python3 GPX parser"
url="https://github.com/tkrajina/gpxpy"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/g/gpxpy/gpxpy-$pkgver.tar.gz"
builddir="$srcdir/gpxpy-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0c23d908b0d591ffb569c68f108812aa19ca70709fee95741d25cb472a7602f3418f5de3314af35b25400869fec1c26cca5e7188c12693a48d7f0563168a3050  gpxpy-1.4.2.tar.gz"
